The build should no longer fail when linking with --no-add-needed
Previously, configure would clear FONTCONFIG_LIBS and
FONTCONFIG_CFLAGS. This would break the build when compiling with a
linker that defaults to --no-add-needed. For example:
/usr/bin/ld: ftfont.o: undefined reference to symbol 'FcInit'
configure should no longer clear these variables.
Author: Reinhard Tartler <siretart@tauware.de>
Added-by: Rob Browning <rlb@defaultvalue.org>
## We used to allow building with FreeType and without Xft.
## However, the ftx font backend driver is not in good shape.
if test "${HAVE_XFT}" = "yes"; then
- dnl As we use Xft, we anyway use freetype.
- dnl There's no need for additional CFLAGS and LIBS.
HAVE_FREETYPE=yes
- FONTCONFIG_CFLAGS=
- FONTCONFIG_LIBS=
fi
HAVE_LIBOTF=no